Build examples into `target/examples`
authorAlex Crichton <alex@alexcrichton.com>
Fri, 24 Oct 2014 16:18:19 +0000 (09:18 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 27 Oct 2014 19:57:49 +0000 (12:57 -0700)
commite969e495b8e8b3284bf29d0ebfc6fdc742b3facf
treed7a4475a8db09975000a14b08edbd6495271582c
parent99c8768f801457fac6f56a6c1fe676e6d63aa529
Build examples into `target/examples`

This ends up killing two birds with one stone! The rationale behind this is that
the example and bin namespaces are not the same, and we don't mix metadata into
either filename, so the outputs need to be in different locations.

Closes #193
Closes #751
src/cargo/core/manifest.rs
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/layout.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_compile.rs
tests/test_cargo_test.rs